package com.socket.entity;

/**
 * Created by sh04799 on 2017/10/23. 坐标偏移量
 */

public class PositionOffset {
	int x;
	int y;
	int z;

	public PositionOffset(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public PositionOffset(int x, int y, int z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getZ() {
		return z;
	}

	public void setZ(int z) {
		this.z = z;
	}

	@Override
	public String toString() {
		return "PositionOffset [x=" + x + ", y=" + y + ", z=" + z + "]";
	}
	
}
